.rui.toolbar {
  // Use bootstrap styles
  .navbar();
  .navbar-inverse();
  display: flex;
  align-items: center;
  padding-left: @navbar-padding-horizontal;
  padding-right: @navbar-padding-horizontal;
  border-radius: 0;
  border: none;
  border-bottom: @toolbar-border-width solid @toolbar-border-color;
}

.rui.toolbar.toolbar-vertical {
  align-items: flex-start;
  justify-content: flex-start;
  border: none;
  padding: 0;
  border-left: @toolbar-border-width solid @toolbar-border-color;
  overflow-y: scroll;
  overflow-x: hidden;
}

html.rtl .rui.toolbar.toolbar-vertical {
  border: none;
  border-right: @toolbar-border-width solid @toolbar-border-color;
}

.rui.toolbar-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-left: @navbar-padding-horizontal;
  padding-right: @navbar-padding-horizontal;
}

.rui.toolbar-group.left {
  flex: 0 0 auto;
  justify-content: flex-start;
}

.rui.toolbar-group.center {
  flex: 0 0 auto;
  justify-content: center;
}

.rui.toolbar-group.right {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.rui.toolbar-group.visible-mobile {
  display: none;

  @media screen and (max-width: @screen-xs-max)  {
    display: flex !important;
  }
}

.rui.hash-icon {
  transition: opacity 200ms linear;
}

.rui.hash-icon.hash-icon-visible {
  opacity: 1.0;
}

.rui.hash-icon.hash-icon-hidden {
  opacity: 0.0;
}
